﻿using Xejen.Communication.Ftp.Configuration;
using System;
using System.Collections.Generic;
using System.Text;

namespace Xejen.Communication.Ftp.Abstract
{
    /// <summary>
    /// 用于创建一个Ftp请求调用
    /// </summary>
    /// <typeparam name="TFtpInvoker"><inheritdoc cref="IFtpInvoker" path="/summary"/></typeparam>
    /// <creator>marc</creator>
    public interface IFtpInvokerCreator<TFtpInvoker>
    {
        /// <summary>
        /// 构建一个Ftp请求驱动
        /// </summary>
        /// <param name="config"><inheritdoc cref="FtpConfig" path="/summary"/></param>
        /// <returns></returns>
        TFtpInvoker Create(FtpConfig config);
    }
}
